python startswith 在 python startswith function returns content of entire text file 的評價 Your first attempt was the most sensible. It already returned 2" , so all you had to do was to remove the trailing " . You can use the rstrip string method ... ... <看更多>